/* pages/function_test/dial_operate/dial_add_background/index.wxss */
.container { 
  padding: 0; 
  background: #f0f9ff; 
  min-height: 100vh;
}

.content { 
  padding: 12px; 
}

.section { 
  margin: 12px 0; 
  background: #fff; 
  border-radius: 10px; 
  padding: 12px; 
  box-shadow: 0 8rpx 24rpx rgba(37,99,235,.06); 
}

.section-title { 
  font-size: 16px; 
  font-weight: 600; 
  margin-bottom: 8px; 
  color: #333;
}

/* 操作卡片样式 */
.operation-card { 
  background: #eef5ff; 
  padding: 16px; 
  border-radius: 8px; 
}

.card-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 8px;
}

.card-title { 
  font-size: 18px; 
  font-weight: 700; 
  color: #333;
}

.card-icon {
  font-size: 24px;
}

.card-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.action-btn {
  background: #2563eb;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.action-btn:active {
  background: #1d4ed8;
  transform: scale(0.98);
}

.btn-text {
  font-size: 16px;
  font-weight: 600;
}

/* 进度卡片样式 - 复用主页进度条样式 */
.progress-card { 
  background: #eef5ff; 
  border-radius: 8px; 
  padding: 16px; 
}

.today-progress { 
  margin-bottom: 16px;
}

.progress-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: baseline; 
  margin-bottom: 8px; 
}

.progress-title { 
  font-size: 14px; 
  color: #666; 
}

.progress-amount { 
  font-size: 18px; 
  font-weight: 700; 
  color: #2563eb;
}

.progress-bar { 
  width: 100%; 
  height: 10px; 
  background: #e9edf2; 
  border-radius: 6px; 
  overflow: hidden; 
  margin-bottom: 8px;
}

.progress-fill { 
  height: 100%; 
  background: linear-gradient(90deg, #22d3ee, #3b82f6); 
  transition: width 0.3s ease;
}

.progress-info { 
  display: flex; 
  justify-content: space-between; 
  color: #666; 
  font-size: 12px; 
}

/* 取消按钮区域 */
.cancel-action {
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.cancel-btn {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 8px 24px;
  border-radius: 6px;
  border: 1px solid #fecaca;
  transition: all 0.2s ease;
}

.cancel-btn:active {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(0.95);
}

.cancel-text {
  font-size: 14px;
  font-weight: 500;
}